Chris Pollett > Old Classes >
CS158a

( Print View )

Student Corner:
  [Grades Sec1]
  [Grades Sec2]

  [Submit Sec1]
  [Submit Sec2]

  [Class Sign up Sec1]
  [Class Sign up Sec2]

  [
Lecture Notes]

  [Discussion Board]

  [Announcements]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]

Practice Exams:
  [Mid1]  [Mid2]  [Final]

                           












HW#4 --- last modified February 28 2019 23:13:37..

Solution set.

Due date: Apr 23

Files to be submitted:
  Hw4.zip

Purpose:

Related Course Outcomes:

(6) Understand network protocols, RIP and OSPF, and the details of IPv4.

(7) Develop a software simulator simulating RIP, OSPF, forwarding and subnetting in IPv4.

(9) Use networking tools including telnet, ping, traceroute, bing, and Ethereal to evaluate simple network characteristics.

Specification:

For the written part of the homework do the following problems out of the book: Ch 5 #9, #18, #24, #41. Put these in the file Hw4.pdf which you include in Hw4.zip. Each group member who is turning in a Cisco Lab should also turn in their PDF in Hw4.zip

For the coding part of the assignment I want you to do problem #56 out of the text, concerning fowarding in an IP router. Your program should be in a file: Forwarding.java, which will be run from the command line with a statement like:

java Forwarding IP_Address Table_to_Use.txt

Here Table_to_Use.txt is a text file consisting of an IP address, subnet mask and outline to use, each seperated by a space. For example:

192.168.1.0 255.255.255.128 3

Your program should output the line to use, based on the IP address and the table.

For the last part of your homework, I want you to do problem #57 concerning traceroute and submit a summary of your experiements in traceroute.pdf, which you also include in Hw4.zip. You should also do some Google searches to find out about which AT&T address corresponds to the line the NSA supposedly listens to and determine if the government is listening to your traffic.

Point Breakdown

Book problems (1.5pts each) 6pts
Forwarding program works as described 2pts
Traceroute write up 2pts
Total10pts